package com.xs.designpattern;

/**
 * 单例的枚举实现
 * @author xs
 */
public enum EnumIvoryTower {
    /**
     * 实例化对象
     */
    INSTANCE;

    @Override
    public String toString() {
        return getDeclaringClass().getCanonicalName() + "@" + hashCode();
    }
}
